package org.dong.Tool;


import lombok.Data;
import org.springframework.context.support.ClassPathXmlApplicationContext;

@Data
public class ApplicationUtil {

    private static ClassPathXmlApplicationContext context;

    static {

      context = new ClassPathXmlApplicationContext("application.xml");

    }

    public static ClassPathXmlApplicationContext getContext() {
        return context;
    }
}